﻿@{
    ViewBag.Title = "Form";
    Layout = "~/Views/Shared/_Form.cshtml";
    // 用印申请
}
<script>

    var keyValue = $.request("keyValue");
    var formId = $.request("formId");
    var deptData = [];
    var fylmData = [];
    var frmData = ["零", "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一",];

    var itemList = getCache("OrderFlowCache");
    $(function () {
        $("#btn_business_info").click(plus_business);
        $("#btn_money_info").click(plus_money);

        if (keyValue) {
            if (!itemList || itemList.length <= 0) {
                $.ajax({
                    url: "/OrderFlowManage/ClientOrder/GetItemsJson",
                    data: {},
                    dataType: "json",
                    async: false,
                    success: function (data) {
                        setCache("OrderFlowCache", data);
                        fylmData = data.fylm;
                    }
                });
            }
            else {
                fylmData = itemList.fylm;
            }
            $.currentWindow().loadReserveSite(keyValue, function (result) {
                if (result.length) {
                    deptData = result;
                    $("#business_project_1").html(bind_servicedata());
                    $("#business_company_1").html(bindSelectHtml());
                }
                $(".bindSelect").bindSelect();
            });
        }
    });

    function bind_servicedata() {
        var html = '';
        if (fylmData && fylmData.length) {
            for (var i = 0; i < fylmData.length; i++) {
                var item = fylmData[i];
                html += '<option value="' + item.F_ItemCode + '">';
                html += item.F_ItemName;
                html += '</option>';
            }
            return html;
        }
    }

    function bindSelectHtml() {
        var html = '';
        for (var i = 0; i < deptData.length; i++) {
            html += '<option value="' + deptData[i].Value + '">' + deptData[i].Text + '</option>';
        }
        return html;
    }

    function plus_business() {
        var rowspan = parseInt($("#business1").attr("index"));
        rowspan++;

        var html = '<tr id="business_' + rowspan + '" index="' + rowspan + '" class="business_panel">';
            html += '   <td class="formValue">';
            html += '       <select name="business_project" id="business_project_' + rowspan + '" class="bindSelect">';
            html += bind_servicedata();
            html += '       </select>';
            html += '   </td>';
            html += '   <td class="formValue" colspan="4">';
            html += '       <input type="text" id="business_input_' + rowspan + '" name="business_input_' + rowspan + '" onkeyup="checkbusinessValue(this)" class="form-control required isFloatGteZero" style="width:100%;" maxlength="15" />';
            html += '   </td>';
            html += '   <td class="formValue" colspan="4">';
            html += '       <select name="business_company"  id="business_company_' + rowspan + '" class="bindSelect">';
            html += bindSelectHtml();
            html += '       </select>';
            html += '   </td>';
            html += '   <td class="formValue">';
            html += '       <input type="text" id="business_output_' + rowspan + '" name="business_output_' + rowspan + '" onkeyup="checkbusinessValue(this)" class="form-control required isFloatGteZero" style="width:60px;" maxlength="15" />';
            html += '   </td>';

            html += '   <td class="formValue">';
            html += '       <input type="text" id="business_taxes_' + rowspan + '" name="business_taxes_' + rowspan + '" onkeyup="checkbusinessValue(this)" class="form-control required isFloatGteZero" style="width:60px;" maxlength="15" />';
            html += '   </td>';
            html += '   <td class="formValue">';
            html += '       <input type="text" id="business_taxesProfit_' + rowspan + '" name="business_taxesProfit_' + rowspan + '" class="form-control required isFloatGteZero" style="width:60px;" readonly />';
            html += '   </td>';
            html += '   <td class="formValue">';
            html += '       <input type="text" id="business_profit_' + rowspan + '" name="business_profit_' + rowspan + '" class="form-control required isFloatGteZero" style="width:60px;" readonly />';
            html += '   </td>';


            html += '   <td class="formValue">';
            html += '       <button type="button" class="btn btn-link btn-xs" onclick="minus_business(' + rowspan + ')">删除</button>';
            html += '   </td>';
            html += '</tr>';
        $("#business1").attr("index", rowspan);
        $("#business_prev").before(html);
        $(".bindSelect").bindSelect();
    }

    function minus_business(index) {
        var rowspan = parseInt($("#business1").attr("index"));
        rowspan--;
        $("#business1").attr("index", rowspan);
        //rowspan++;
        //$(".business2").attr("rowspan", rowspan);
        $("#business_" + index).remove();

        CountBusinessValue();
    }

    function plus_money() {
        var tabindex = parseInt($("#money_prev").attr("tabindex"));
        tabindex++;
        if (tabindex == frmData.length) {
            $.modalAlert('最多只能添加' + frmData[tabindex - 1] + '笔，请联系管理员！', 'error');
            return;
        }
        var html = '<tr id="money_' + tabindex + '" index="' + tabindex + '" class="money_panel">';
        html += '   <td class="formValue">';
        html += '       <strong>第' + frmData[tabindex] + '笔收款</strong>';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <input type="text" id="money_date1_' + tabindex + '" name="money_date1_' + tabindex + '"  class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <strong>金额</strong>';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <input type="text" id="money_input_' + tabindex + '" name="money_input_' + tabindex + '" class="form-control required isFloatGteZero" style="width:60px;" onkeyup="checkMoneyValue(this)"  maxlength="15" />';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <input type="text" id="money_remark_' + tabindex + '" name="money_remark_' + tabindex + '" class="form-control" style="width:60px;"  placeholder="备注" />';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <strong>开票日期</strong>';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <input type="text" id="money_date2_' + tabindex + '" name="money_date2_' + tabindex + '" class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <strong>第' + frmData[tabindex] + '笔支付</strong>';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <input type="text" id="money_date3_' + tabindex + '" name="money_date3_' + tabindex + '" class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <strong>金额</strong>';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <input type="text" id="money_output_' + tabindex + '" name="money_output_' + tabindex + '"  class="form-control required isFloatGteZero" style="width:60px;" onkeyup="checkMoneyValue(this)"  maxlength="15" />';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <strong>收票日期</strong>';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <input type="text" id="money_date4_' + tabindex + '" name="money_date4_' + tabindex + '" class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />';
        html += '   </td>';
        html += '   <td class="formValue">';
        html += '       <button type="button" class="btn btn-link btn-xs" onclick="minus_money(' + tabindex + ')">删除</button>';
        html += '   </td>';
        html += '</tr>';
        $("#money_prev").attr("tabindex", tabindex);
        $("#money_prev").before(html);
    }

    function minus_money(index) {
        var tabindex = parseInt($("#money_prev").attr("tabindex"));
        tabindex--;
        $("#money_prev").attr("tabindex", tabindex);
        $("#money_" + index).remove();

        CountMoneyValue();
    }

    // 格式化数据 10000 => 10,000
    function formatNumberString(input) {
        
        var currentVal = (input || '').toString().replace(/,/g, ""),
            newValArr = [];
        if (currentVal && !isNaN(currentVal)) {
            var newVal = parseFloat(currentVal).toString(),
                newValLength = newVal.split('.').length,
                newValStart = newVal.split('.')[0],
                newValEnd = newValLength == 1 ? '00' : newVal.split('.')[1];
            // 格式化数据 10000 => 10,000
            var flag = parseInt(newValStart.length % 3);

            for (var i = 0; i < newValStart.length; i++) {
                if (i > 0 && (i == flag || (i - flag) % 3 == 0)) {
                    newValArr.push(',');
                }
                newValArr.push(newValStart[i]);
            }
            return newValArr.join('');
        }
        return '0';
    }

    // 格式化数据 10,000 => 10000
    function formatNumber(input) {
        var currentVal = (input || '').toString().replace(/,/g, "");
        if (currentVal && !isNaN(currentVal)) {
            return parseInt(currentVal);
        } else {
            return 0;
        }
    }

    function checkbusinessValue(dom) {
        var index = parseInt($(dom).parent().parent().attr("index")),
            newValue = formatNumberString(dom.value);

        $(dom).val(newValue);

        var input = $("#business_input_" + index).val(),
            output = $("#business_output_" + index).val(),
            taxes = $("#business_taxes_" + index).val();
        if (input && output && taxes) {
            var taxesProfit = formatNumber(input) - formatNumber(output) - formatNumber(taxes),
                profit = ((taxesProfit / formatNumber(input)) * 100).toFixed(2);
            $("#business_taxesProfit_" + index).val(formatNumberString(taxesProfit));
            $("#business_profit_" + index).val(profit + "%");
        }

        CountBusinessValue();
    }

    function CountBusinessValue() {
        var input_total = 0,
            output_total = 0,
            taxes_total = 0;
        $("#form1 input[name*='business_input_']").each(function () {
            input_total += formatNumber($(this).val());
        });
        $("#form1 input[name*='business_output_']").each(function () {
            output_total += formatNumber($(this).val());
        });
        $("#form1 input[name*='business_taxes_']").each(function () {
            taxes_total += formatNumber($(this).val());
        });
        //console.log(input_total)
        $("#business_input_total").text(formatNumberString(input_total));
        $("#business_output_total").text(formatNumberString(output_total));
        $("#business_taxes_total").text(formatNumberString(taxes_total));
        
        if (input_total && output_total && taxes_total) {
            var taxesProfitTotal = (input_total) - (output_total) - (taxes_total),
                profitTotal = ((taxesProfitTotal / (input_total)) * 100).toFixed(2);
            $("#business_taxesProfit_total").text(formatNumberString(taxesProfitTotal));
            $("#business_profit_total").text(profitTotal + "%");
        }
    }

    function checkMoneyValue(dom) {
        var index = parseInt($(dom).parent().parent().attr("index")),
            newValue = formatNumberString(dom.value);

        $(dom).val(newValue);

        CountMoneyValue();
    }

    function CountMoneyValue() {
        var input_total = 0,
            output_total = 0;
        $("#form1 input[name*='money_input_']").each(function () {
            input_total += formatNumber($(this).val());
        });
        $("#form1 input[name*='money_output_']").each(function () {
            output_total += formatNumber($(this).val());
        });
        $("#money_input_total").text(formatNumberString(input_total));
        $("#money_output_total").text(formatNumberString(output_total));
    }

    function checkValue(dom) {
        var newValue = formatNumberString(dom.value);

        $(dom).val(newValue);
    }

    function submitForm() {
        if (!$('#form1').formValid()) {
            return false;
        }
        //var Input = formatNumber($("#business_input_1").val());
        ////上面的第一笔支出金额
        //var Out = formatNumber($("#business_output_1").val());
        ////获取第一笔的收入和支出金额
        //var Input2 = formatNumber($("#money_preview_money").val()),
        //    Out2 = 0;
        ////获取上面的支出合计金额
        //$(".business_panel").find("input, select").each(function (index, ele) {
        //    if (ele.name == 'business_output') {
        //        Out += formatNumber($(ele).val());
        //    }
        //});
        //$(".money_panel").find("input, select").each(function (index, ele) {
        //    //获取下面的支出合计金额
        //    if (ele.name == 'money_output') {
        //        Out2 += formatNumber($(ele).val());
        //    }
        //    //获取下面的收入合计金额
        //    if (ele.name == 'money_input') {
        //        Input2 += formatNumber($(ele).val());
        //    }
        //});
        //// 添加预定金到指定计算中去
        //if (Input != Input2) {
        //    $.modalAlert('申请收入金额不一致', 'error');
        //    return false;
        //}
        //if (Out != Out2) {
        //    $.modalAlert('申请支出金额不一致', 'error');
        //    return false;
        //}
        //获取上面固定的管理费用数据
        var orderUsings = [];
        //获取下面的预定金和押金的费用数据
        var orderUsingPrices = [
            { F_OrderId: keyValue, F_No: "0", F_InOutType: 2, F_InOutDate: $("#money_inputs_date").val(), F_InOutCash: formatNumber($("#money_preview_money").val()) },
            { F_OrderId: keyValue, F_No: "0", F_InOutType: 3, F_InOutDate: $("#money_cash_date").val(), F_InOutCash: formatNumber($("#money_cash_money").val()) }
        ];

        var _index = 0,
            tempUsing = {
                F_OrderId: keyValue,
                F_IncomeCash: formatNumber($("#business_input_1").val()),
                F_FeeType: parseInt($("#business_project_1").val()),
                F_FeeName: $("#business_company_1").val(),
                F_SpendCash: formatNumber($("#business_output_1").val()),
                F_Tax: formatNumber($("#business_taxes_1").val()),
                F_AfterTaxProfit: formatNumber($("#business_taxesProfit_1").val()),
                F_ProfitMargin: $("#business_profit_1").val()
            };
        //获取上面的第一笔收入支出数据
        orderUsings.push(tempUsing);
        for (var i = 2; i < $(".business_panel").length + 2; i++) {
            //获取该样式值内的tr的Id，并获取序列号
            var index = $(".business_panel")[i - 2].id.substring($(".business_panel")[i - 2].id.lastIndexOf('_') + 1, $(".business_panel")[i - 2].id.length);
            tempUsing = {
                F_OrderId: keyValue,
                F_IncomeCash: formatNumber($("#business_input_" + index).val()),
                F_FeeType: $("#business_project_" + index).val(),
                F_FeeName: $("#business_company_" + index).val(),
                F_SpendCash: formatNumber($("#business_output_" + index).val()),
                F_Tax: "",
                F_AfterTaxProfit: "",
                F_ProfitMargin: ""
            };
            orderUsings.push(tempUsing);
        }

        _index = 0;
        var tempUsingInPrice = {
                F_OrderId: keyValue,
                F_No: 0,
                F_InOutType: 0,
                F_InOutDate: $("#money_date1_1").val(),
                F_InOutCash: formatNumber($("#money_input_1").val()),
                F_InvoiceDate: $("#money_date2_1").val(),
                F_Remark: $("#money_remark_1").val()
            },
            tempUsingOutPrice = {
                F_OrderId: keyValue,
                F_No: 0,
                F_InOutType: 1,
                F_InOutDate: $("#money_date3_1").val(),
                F_InOutCash: formatNumber($("#money_output_1").val()),
                F_InvoiceDate: $("#money_date4_1").val(),
                F_Remark: ''
            };

        orderUsingPrices.push(tempUsingInPrice);
        orderUsingPrices.push(tempUsingOutPrice);
        $(".money_panel").find("input, select").each(function (index, ele) {
            var index = ele.id.substring(ele.id.lastIndexOf('_') + 1, ele.id.length);
            if (_index != index) {
                tempUsingInPrice = {
                    F_OrderId: keyValue,
                    F_No: index,
                    F_InOutType: 0,
                    F_InOutDate: '',
                    F_InOutCash: '',
                    F_InvoiceDate: '',
                    F_Remark: ''
                };
                tempUsingOutPrice = {
                    F_OrderId: keyValue,
                    F_No: index,
                    F_InOutType: 1,
                    F_InOutDate: '',
                    F_InOutCash: '',
                    F_InvoiceDate: '',
                    F_Remark: ''
                };
                if (_index != 0) {
                    orderUsingPrices.push(tempUsingInPrice);
                    orderUsingPrices.push(tempUsingOutPrice);
                }
                _index = index;
            }

            if (ele.id.indexOf('money_date1_') != -1) {
                tempUsingInPrice.F_InOutDate = $(ele).val();
            } else if (ele.id.indexOf('money_input_') != -1) {
                tempUsingInPrice.F_InOutCash = formatNumber($(ele).val());
            } else if (ele.id.indexOf('money_remark_') != -1) {
                tempUsingInPrice.F_Remark = $(ele).val();
            } else if (ele.id.indexOf('money_date2_') != -1) {
                tempUsingInPrice.F_InvoiceDate = $(ele).val();
            } else if (ele.id.indexOf('money_date3_') != -1) {
                tempUsingOutPrice.F_InOutDate = $(ele).val();
            } else if (ele.id.indexOf('money_output_') != -1) {
                tempUsingOutPrice.F_InOutCash = formatNumber($(ele).val());
            } else if (ele.id.indexOf('money_date4_') != -1) {
                tempUsingOutPrice.F_InvoiceDate = $(ele).val();
            }
        });
        //console.log({ orderUsings: orderUsings, orderUsingPrices: orderUsingPrices });
        //console.log("orderUsings:"+ JSON.stringify(orderUsings));
        //console.log("orderUsingPrices:"+JSON.stringify(orderUsingPrices));
        $.submitForm({
            url: "/OrderFlowManage/ClientOrder/SubmitImpressForm?keyValue=" + keyValue,
            param: { flowFormId: formId, orderUsings: orderUsings, orderUsingPrices: orderUsingPrices },
            success: function () {
                $.currentWindow().vm.impress.initImpress();
                $.loading(false);
            }
        });
    }
</script>

@*用印申请*@
<form id="form1">
    <div style="padding-top: 5px; margin:0 5px;">
        <table id="business1" index="1" class="form table table-bordered">
            <tr>
                <th class="formValue" colspan="14"><h4>主要商务信息</h4></th>
            </tr>
            <tr>
                <th>费用项目</th>
                <th colspan="4">收入金额</th>
                <th colspan="4">公司名称（供应商）</th>
                <th>支出金额</th>
                <th>税金</th>
                <th>税后利润</th>
                <th>利润率</th>
                <th>操作</th>
            </tr>
            <tr index="1">
                <td class="formValue">
                    <select id="business_project_1" name="business_project_1" class="bindSelect">
                    </select>
                </td>
                <td class="formValue" colspan="4" valign="bottom">
                    <input type="text" id="business_input_1" name="business_input_1" onkeyup="checkbusinessValue(this)" class="form-control required isFloatGteZero" style="width:100%;" maxlength="15" />
                </td>
                <td class="formValue" colspan="4">
                    <select id="business_company_1" name="business_company_1" class="bindSelect"></select>
                </td>
                <td class="formValue">
                    <input type="text" id="business_output_1" name="business_output_1" onkeyup="checkbusinessValue(this)" class="form-control required isFloatGteZero" style="width:60px;" maxlength="15" />
                </td>
                <td class="formValue business2" valign="middle">
                    <input type="text" id="business_taxes_1" name="business_taxes_1" onkeyup="checkbusinessValue(this)" class="form-control required isFloatGteZero" style="width:60px;" maxlength="15" />
                </td>
                <td class="formValue business2" valign="middle">
                    <input type="text" id="business_taxesProfit_1" name="business_taxesProfit_1" class="form-control required isFloatGteZero" style="width:60px;" readonly />
                </td>
                <td class="formValue business2" valign="middle">
                    <input type="text" id="business_profit_1" name="business_profit_1" class="form-control required isFloatGteZero" style="width:60px;" readonly />
                </td>
                <td class="formValue">
                    <button id="btn_business_info" type="button" class="btn btn-link" title="添加商务信息">添加</button>
                </td>
            </tr>
            <tr id="business_prev">
                <td class="formValue" align="right">
                    <strong>合计：</strong>
                </td>
                <td class="formValue" colspan="4" align="right">
                    <strong id="business_input_total"></strong>
                </td>
                <td class="formValue" colspan="4"></td>
                <td class="formValue">
                    <strong id="business_output_total"></strong>
                </td>
                <td class="formValue">
                    <strong id="business_taxes_total"></strong>
                </td>
                <td class="formValue">
                    <strong id="business_taxesProfit_total"></strong>
                </td>
                <td class="formValue">
                    <strong id="business_profit_total"></strong>
                </td>
                <td class="formValue"></td>
            </tr>
        </table>
        
        <table class="form table table-bordered">
            <tr>
                <th class="formValue" colspan="14"><h4>财务信息</h4></th>
            </tr>
            <tr class="money_panel" index="1">
                <td class="formValue">
                    <strong>第一笔收款</strong>
                </td>
                <td class="formValue">
                    <input type="text" id="money_date1_1" name="money_date1_1" class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />
                </td>
                <td class="formValue">
                    <strong>金额</strong>
                </td>
                <td class="formValue">
                    <strong><input type="text" id="money_input_1" name="money_input_1" class="form-control required isFloatGteZero" style="width:60px;" onkeyup="checkMoneyValue(this)" maxlength="15" /></strong>
                </td>
                <td class="formValue">
                    <input type="text" id="money_remark_1" name="money_remark_1" class="form-control" title="备注" style="width:60px;" placeholder="备注" />
                </td>
                <td class="formValue">
                    <strong>开票日期</strong>
                </td>
                <td class="formValue">
                    <input type="text" id="money_date2_1" name="money_date2_1" class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />
                </td>
                <td class="formValue">
                    <strong>第一笔支付</strong>
                </td>
                <td class="formValue">
                    <input type="text" id="money_date3_1" name="money_date3_1" class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />
                </td>
                <td class="formValue">
                    <strong>金额</strong>
                </td>
                <td class="formValue">
                    <strong><input type="text" id="money_output_1" name="money_output_1" class="form-control required isFloatGteZero" style="width:60px;" onkeyup="checkMoneyValue(this)" maxlength="15" /></strong>
                </td>
                <td class="formValue">
                    <strong>收票日期</strong>
                </td>
                <td class="formValue">
                    <input type="text" id="money_date4_1" name="money_date4_1" class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />
                </td>
                <td class="formValue">
                    <button id="btn_money_info" type="button" class="btn btn-link" title="添加收款记录">添加</button>
                </td>
            </tr>
            <tr id="money_prev" tabindex="1" class="money_panel">
                <td class="formValue">
                </td>
                <td class="formValue">
                </td>
                <td class="formValue" align="right">
                    <strong>合计：</strong>
                </td>
                <td class="formValue">
                    <strong id="money_input_total"></strong>
                </td>
                <td class="formValue">
                </td>
                <td class="formValue">
                </td>
                <td class="formValue">
                </td>
                <td class="formValue">
                </td>
                <td class="formValue">
                </td>
                <td class="formValue" align="right">
                    <strong>合计：</strong>
                </td>
                <td class="formValue">
                    <strong id="money_output_total"></strong>
                </td>
                <td class="formValue">
                </td>
                <td class="formValue">
                </td>
                <td class="formValue">
                </td>
            </tr>
            <tr>
                <td colspan="14" style="border-bottom: 3px solid #ddd;"></td>
            </tr>
            <tr>
                <td colspan="14"></td>
            </tr>
            <tr>
                <td class="formValue" colspan="2" align="center">
                    <strong>预定金</strong>
                </td>
                <td class="formValue">
                    <strong>金额</strong>
                </td>
                <td class="formValue" colspan="2">
                    <strong><input type="text" id="money_preview_money" name="money_preview_money" class="form-control isFloatGteZero" style="width:60px;" onkeyup="checkValue(this)" maxlength="15" /></strong>
                </td>
                <td class="formValue">
                    <strong>收取日期</strong>
                </td>
                <td class="formValue">
                    <input type="text" id="money_inputs_date" name="money_inputs_date" class="form-control input-wdatepicker" readonly onfocus="WdatePicker()" />
                </td>
                <td class="formValue" colspan="2" align="center">
                    <strong>押金</strong>
                </td>
                <td class="formValue">
                    <strong>金额</strong>
                </td>
                <td class="formValue">
                    <strong><input type="text" id="money_cash_money" name="money_cash_money" class="form-control required isFloatGteZero" style="width:60px;" onkeyup="checkValue(this)" maxlength="15" /></strong>
                </td>
                <td class="formValue">
                    <strong>支付日期</strong>
                </td>
                <td class="formValue">
                    <input type="text" id="money_cash_date" name="money_cash_date" class="form-control input-wdatepicker required" readonly onfocus="WdatePicker()" />
                </td>
                <td class="formValue"></td>
            </tr>
        </table>
    </div>
</form>


